home *** CD-ROM | disk | FTP | other *** search
/ Alde ADA 5 #1 / ADA CD-ROM - Alde Publishing.iso / cm / m36.sid < prev    next >
Encoding:
Text File  |  1988-05-03  |  4.8 KB  |  104 lines

  1. --= SID = SIMTEL20 Ada Software Repository Item Description File = SID =--
  2. -- UNIT NAME         : Emulation of Machine Arithmetic
  3. -- VERSION           : 1.0
  4. -- REVIEW CODE       : 
  5. -- DDN ADDRESS       : 
  6. -- AUTHOR            : SYSCON Corp
  7. --                   : 3990 Sherman Street
  8. --                   : San Diego, CA 92110
  9. --                   : John Reddan
  10. --                   : (619) 296-0085
  11. --                   : Contact: Lt. Colonel Falgiano
  12. --                   : ESD/SCW
  13. --                   : Hanscom AFB, MA  01731
  14. -- COPYRIGHT         : (c) 1985, SYSCON Corp
  15. -- DATE CREATED      : June, 1985
  16. -- DATE RELEASED     : June, 1985
  17. -- DATE LAST UPDATED : June, 1985
  18. -- LOCATION          : ASR
  19. -- ENVIRONMENT       : VAX/VMS TeleSoft
  20. --= CLASSIFICATION       ===============================================--
  21. -- CATEGORY LEVEL 1  : MATH
  22. -- CATEGORY LEVEL 2  : Library
  23. -- CATEGORY LEVEL 3  : 36-Bit Machine Arithmetic
  24. -- CATEGORY LEVEL 4  : 
  25. -- KEYWORD           : 
  26. -- INDEX             : Emulation
  27. -- INDEX             : Arithmetic
  28. -- INDEX             : Machine Arithmetic
  29. -- TAXONOMY          : 
  30. -- DEPENDENCIES      : 
  31. -- SEE ALSO          : WIS_TOOL_20_2
  32. --= FILE LISTING         ===============================================--
  33. -- FILE SPECS        : PD:<ADA.MATH>M36*.*
  34. -- DIRECTORY DISPLAY :
  35. -- Directory   PD:<ADA.MATH>
  36. --      File Name     Byte Count  Line Count
  37. --   ---------------  ----------  ----------
  38. --   M36.ABS                2748          60
  39. --   M36.CMM                 565          31
  40. --   M36.DEL                3988         108
  41. --   M36.DOC              228759        6238
  42. --   M36.PRO                4998         105
  43. --   M36.SRC              244196        6521
  44. --   M36DOC.DIS              101           4
  45. --   M36PRGRPT.DIS           168           6
  46. --   M36REN.SUB              363          11
  47. --   M36SRC.DIS              152           5
  48. --   M36TEST.DIS             184           6
  49. --   M36TEST.SRC           81784        2270
  50. --   ===============  ==========  ==========
  51. --    12 Files            568006       15365
  52. --= ABSTRACT             ===============================================--
  53. --         The purpose of this package is to emulate 36 bit machine  host
  54. -- arithmetic  on  a  32  bit  host  machine.   This package will provide
  55. -- support for 36 bit integer, real, and double precision real numbers in
  56. -- the form of the standard predefined arithmetic operations.  The ranges
  57. -- of the supported types are as follows:
  58. -- 
  59. --    Integer
  60. --       range of -2**35 to 2**35-1
  61. --    Real
  62. --       range of 10**-38 to 10**38 and 0
  63. --       mantissa => 27 bit binary fraction
  64. --       exponent => -128 to 127
  65. --    Double Precision Real
  66. --       range of 10**-38 to 10**38 and 0
  67. --       mantissa => 63 bit binary fraction
  68. --       exponent => -128 to 127
  69. -- 
  70. --         Any  errors which occur during use of the arithmetic exception
  71. -- declaration in the package specification can be changed to a rename of
  72. -- the  predefined  exception  "NUMERIC_ERROR"  for  programs  needing to
  73. -- handle arithmetic errors in a general fashion.   Conversion  functions
  74. -- are  provided  to  assist in programming mixed operand (32 and 36 bit)
  75. -- arithmetic, and to facilitate IO.  These functions should  be  renamed
  76. -- if they will be used extensively so that the impact of the readability
  77. -- of a program's arithmetic expressions is  minimized.   The  underlying
  78. -- arithmetic will be performed in twos complement arithmetic.
  79. --= REVISION HISTORY     ===============================================--
  80. --
  81. -- DATE           VERSION AUTHOR                  HISTORY 
  82. -- 6/85           1.0     SYSCON                  Initial Release
  83. --= RELEASE NOTICE       ===============================================--
  84. -- This prologue must be included in all copies of this software.
  85. -- 
  86. -- This software is copyright by the author.
  87. -- 
  88. -- This software is released to the Ada community.
  89. -- This software is released to the Public Domain (note:
  90. --   software released to the Public Domain is not subject
  91. --   to copyright protection).
  92. -- Restrictions on use or distribution:  NONE
  93. --= DISCLAIMER           ===============================================--
  94. --     This software and its documentation are provided "AS IS" and
  95. -- without any expressed or implied warranties whatsoever.  No warranties
  96. -- as to performance, merchantability, or fitness for a particular
  97. -- purpose exist.
  98. --     The user is advised to test the software thoroughly before
  99. -- relying on it.  The user must assume the entire risk and liability of
  100. -- using this software.  In no event shall any person or organization of
  101. -- people be held responsible for any direct, indirect, consequential or
  102. -- inconsequential damages or lost profits.
  103. --======================================================================--
  104.